<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/view/jsp/component/common.jsp" %>
<layout:override name="${pageContents}">
    <div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">${client.clientName} 请求访问你的数据，是否授权？</h3>
                    </div>
                    <div class="panel-body">
                        <form action="" role="form" method="post">
                            <fieldset>
                                <div class="form-group">
                                    <input class="form-control" name="clientId" type="hidden" value="${client.id}">
                                </div>
                                <div class="checkbox">
                                    <label><input name="userInfo" type="checkbox" value="true" checked
                                                  disabled>个人信息</label>
                                    <label><input name="photo" type="checkbox" value="true" checked disabled>照片</label>
                                </div>
                                <!-- Change this to a button or input when using this as a form -->
                                <button type="submit" class="btn btn-lg btn-success btn-block">授权</button>
                            </fieldset>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</layout:override>
<%@ include file="/WEB-INF/view/jsp/tpl/layout.jsp" %>